import AdminModel from "../db/model/admin.model"
import { APP_PUBLIC_KEY, APP_PRIVATE_KEY } from "../setting"
import RSA from "node-rsa"

/**
 * 管理员登陆
 * 
 * @param adminName 用户名
 * @param adminPass 密码
 * 
 * @returns token密钥
 */
export async function adminLogin(adminName: string, adminPass: string): Promise<string> {
    return null
}

/**
 * 管理员状态
 * 
 * @param token token密钥
 * 
 * @returns 管理员model
 */
export async function adminStatue(token: string): Promise<AdminModel> {
    return null
}